CreateNewXMLDocument XML 

Declaration:

FUNCTION   CreateNewXMLDocument
(   XMLHandle :LONGINT;
    rootElementName :STRING
) :INTEGER ;

Description:

Creates a new XML document.



  DeleteAttribute XML 

Declaration:

FUNCTION   DeleteAttribute
(   XMLHandle :LONGINT;
    elementPath :STRING;
    attribute :STRING
) :INTEGER ;

Description:

Deletes an attribute



  DeleteCDATA XML 

Declaration:

FUNCTION   DeleteCDATA
(   XMLHandle :LONGINT;
    elementPath :STRING
) :INTEGER ;

Description:

Deletes a CDATA section



  DeleteElement XML 

Declaration:

FUNCTION   DeleteElement
(   XMLHandle :LONGINT;
    elementPath :STRING
) :INTEGER ;

Description:

Deletes the element at the location specified by the path.



  FindAttribute XML 

Declaration:

FUNCTION   FindAttribute
(   XMLHandle :LONGINT;
    startElementPath :STRING;
    searchAttribute :STRING;
  VAR  foundPath :STRING;
  VAR  attributeValue :STRING
) :INTEGER ;

Description:

Finds the specified attribute by name.



  FindElement XML 

Declaration:

FUNCTION   FindElement
(   XMLHandle :LONGINT;
    startElementPath :STRING;
    searchElement :STRING;
  VAR  foundPath :STRING
) :INTEGER ;

Description:

Finds the specified element by name.



  GetAttributeValue XML 

Declaration:

FUNCTION   GetAttributeValue
(   XMLHandle :LONGINT;
    elementPath :STRING;
    attribute :STRING;
  VAR  value :STRING
) :INTEGER ;

Description:

Gets a value of an attribute.



  GetCDATA XML 

Declaration:

FUNCTION   GetCDATA
(   XMLHandle :LONGINT;
    elementPath :STRING;
  VAR  returnVal :DYNARRAY[] of CHAR
) :INTEGER ;

Description:

Gets CDATA section.



  GetElementValue XML 

Declaration:

FUNCTION   GetElementValue
(   XMLHandle :LONGINT;
    elementPath :STRING;
  VAR  value :STRING
) :INTEGER ;

Description:

Gets a value of an element, given a path.



  GetFirstChild XML 

Declaration:

FUNCTION   GetFirstChild
(   XMLHandle :LONGINT;
    elementPath :STRING;
  VAR  value :STRING
) :INTEGER ;

Description:

Returns first child of given element.



  GetNextElement XML 

Declaration:

FUNCTION   GetNextElement
(   XMLHandle :LONGINT;
    elementPath :STRING;
  VAR  value :STRING
) :INTEGER ;

Description:

Returns the next element (sibling) of the given element.



  GetPreviousElement XML 

Declaration:

FUNCTION   GetPreviousElement
(   XMLHandle :LONGINT;
    elementPath :STRING;
  VAR  value :STRING
) :INTEGER ;

Description:

Returns the previous element (sibling) of the given element.



  InitXML XML 

Declaration:

FUNCTION   InitXML
:LONGINT ;

Description:

Initializes the XML System



  ReadXMLFile XML 

Declaration:

FUNCTION   ReadXMLFile
(   XMLHandle :LONGINT;
    whichPath :INTEGER;
    filename :STRING
) :INTEGER ;

Description:

Opens and reads an XML file.



  ReadXMLMemory XML 

Declaration:

FUNCTION   ReadXMLMemory
(   XMLHandle :LONGINT;
    XMLData :DYNARRAY[] of CHAR
) :INTEGER ;

Description:

Parses XML data in memory.



  ReleaseXML XML 

Declaration:

FUNCTION   ReleaseXML
( XMLHandle:LONGINT ) :INTEGER ;

Description:

Releases XML parser internal memory.



  SetAttributeValue XML 

Declaration:

FUNCTION   SetAttributeValue
(   XMLHandle :LONGINT;
    elementPath :STRING;
    attribute :STRING;
    value :STRING
) :INTEGER ;

Description:

Sets a value of an attribute.



  SetCDATA XML 

Declaration:

FUNCTION   SetCDATA
(   XMLHandle :LONGINT;
    elementPath :STRING;
    data :DYNARRAY[] of CHAR
) :INTEGER ;

Description:

Sets CDATA section.



  SetElementValue XML 

Declaration:

FUNCTION   SetElementValue
(   XMLHandle :LONGINT;
    elementPath :STRING;
    value :STRING
) :INTEGER ;

Description:

Sets a value of an element, given a path.



  WriteXMLFile XML 

Declaration:

FUNCTION   WriteXMLFile
(   XMLHandle :LONGINT;
    whichPath :INTEGER;
    filename :STRING
) :INTEGER ;

Description:

Writes an XML file.



  WriteXMLMemory XML 

Declaration:

FUNCTION   WriteXMLMemory
(   XMLHandle :LONGINT;
  VAR  XMLData :DYNARRAY[] of CHAR
) :INTEGER ;

Description:

Creates XML data from an internal DOM tree.